package com.lhd.weibo.mapper;

import com.lhd.weibo.pojo.entity.User;
import com.lhd.weibo.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

/**
 * @author lhd
 * date 2024/5/15
 * @apiNote
 */
@Repository
public interface UserMapper {
    // 查询方法
    UserVO selectByUsername(String username);

    // 插入
    int insert(User user);
}
